package test2;

public class npy {

    private String name;
    private double height;
    private double weight;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getHeight() {
        return height;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getWeight() {
        return weight;
    }

    public void show() {
        System.out.println("我女朋友叫" + getName() + ",身高" + getHeight() + "厘米,体重" + getWeight() + "斤");
    }

    public void wash() {
        System.out.println(getName() + "帮我洗衣服");
    }

    public void cook() {
        System.out.println(getName() + "帮我做饭");
    }

}
